{% load staticfiles %}
<!DOCTYPE html>
<html style="height: 100%; width: 100%;">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title>历史审核</title>
        <link rel="stylesheet" href="{% static 'css/layui.css' %}">

        <style>
            .layui-form-item .layui-input-inline {
                float: left;
                width: auto;
                margin-right: 10px;
            }
        </style>
    </head>
    <body>
        <link rel="stylesheet" href="{% static 'css/document.css' %}">
        <div id="pdf_manage" class="public_div" style="height: 98%;">
            <div id="pm_left_table" class="pm-left">
                <div style="height:100%;margin-right: 20px;">
                    <table class="layui-table layui-table-manage" id="pdf_manage_table" lay-filter="pdf_manage_table"></table>
                </div>

            </div>
            <div  class="pm-right">
                <div class="pm-pdf-upload">
                    <button type="button" class="layui-btn" id="pdfload" style="width: 100%;">
                        PDF文件上传 <i class="layui-icon">&#xe67c;</i>
                    </button>
                    <button type="button" class="layui-btn" id="pdfgroup" style="margin:2px 0 0 0;width: 100%;">
                        文件组创建
                    </button>
                </div>
                <div  class="pm-pdf-manage">
                    <table class="layui-table layui-table-file" id="pdf_file" lay-filter="pdf_file"></table>
                </div>
            </div>

        </div>
    </body>
    <script type="text/html" id="filebutton">
        <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="del_file">删除</a>
    </script>
    <script type="text/html" id="groupbutton">
        <a class="layui-btn layui-btn-xs" lay-event="check_group">查看</a>
        <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="mod_group">修改</a>
        <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="add_group">添加</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del_group">删除</a>
    </script>
    <script>
        var p_file_list = {{ p_file_list|safe }};
        var p_file_sel = {{ p_file_sel|safe }};
        var g_group_list = {{ g_group_list|safe }};
    </script>
    <script src="{% static 'layui.all.js' %}"></script>
    <script src="{% static 'js/document/pdfmanage.js' %}"></script>
</html>